<?php
/* tblMenu */
class tblMenu extends NocForm
	{
		protected $_CategoryID                 = array();
		protected $_CategoryName                 = array();
		protected $_SubCategory                 = array();
		protected $_SubCategoryID                 = array();

		function __construct()
		{
			parent::__construct();
			$this->getRow();
		}
		public function get_CategoryID()
		{
				return  $this->_get_CategoryIDValue();
		}

		private function _get_CategoryIDValue()
		{
			if(isset($this->_CategoryID['value']))
				return $this->_CategoryID['value'];
			else
				return false;
		}

		public function get_CategoryName()
		{
				return  $this->_get_CategoryNameValue();
		}

		private function _get_CategoryNameValue()
		{
			if(isset($this->_CategoryName['value']))
				return $this->_CategoryName['value'];
			else
				return false;
		}

		public function get_SubCategory()
		{
				return  $this->_get_SubCategoryValue();
		}

		private function _get_SubCategoryValue()
		{
			if(isset($this->_SubCategory['value']))
				return $this->_SubCategory['value'];
			else
				return false;
		}

		public function get_SubCategoryID()
		{
				return  $this->_get_SubCategoryIDValue();
		}

		private function _get_SubCategoryIDValue()
		{
			if(isset($this->_SubCategoryID['value']))
				return $this->_SubCategoryID['value'];
			else
				return false;
		}


		public function set_CategoryIDValue($strCategoryID)
		{
			if($this->validateInput("validatexxxxx", $strCategoryID, "CategoryID "))
					return($this->_setNewValue($this->_CategoryID, $strCategoryID));
			else
					return false;
		}

		public function set_CategoryNameValue($strCategoryName)
		{
			if($this->validateInput("validatexxxxx", $strCategoryName, "CategoryName "))
					return($this->_setNewValue($this->_CategoryName, $strCategoryName));
			else
					return false;
		}

		public function set_SubCategoryValue($strSubCategory)
		{
			if($this->validateInput("validatexxxxx", $strSubCategory, "SubCategory "))
					return($this->_setNewValue($this->_SubCategory, $strSubCategory));
			else
					return false;
		}

		public function set_SubCategoryIDValue($strSubCategoryID)
		{
			if($this->validateInput("validatexxxxx", $strSubCategoryID, "SubCategoryID "))
					return($this->_setNewValue($this->_SubCategoryID, $strSubCategoryID));
			else
					return false;
		}
		

		

	}

?>